package selcoursesys.entity;

/**
 * Created by Lpbdz on 2017/4/10.
 */
public class CourseInfo {
    private String coursename;
    private Double credit;
    private Integer classhour;
    private String examine;
    private String aname;
    private String tname;
    private String courseid;
    private  String descourse;
    private String exitselect;
    private String stuid;
    private String coursetype;
    private String rid;
    private Integer lnum;
    private Integer cnum;
    public String getStuid() {
        return stuid;
    }

    public void setStuid(String stuid) {
        this.stuid = stuid;
    }

    public String getCoursetype() {
        return coursetype;
    }

    public void setCoursetype(String coursetype) {
        this.coursetype = coursetype;
    }

    public String getExitselect() {
        return exitselect;
    }

    public void setExitselect(String exitselect) {
        this.exitselect = exitselect;
    }

    public String getDescourse() {
        return descourse;
    }

    public void setDescourse(String descourse) {
        this.descourse = descourse;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    public Integer getClasshour() {
        return classhour;
    }

    public void setClasshour(Integer classhour) {
        this.classhour = classhour;
    }

    public String getExamine() {
        return examine;
    }

    public void setExamine(String examine) {
        this.examine = examine;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getCourseid() {
        return courseid;
    }

    public void setCourseid(String courseid) {
        this.courseid = courseid;
    }
    //学生用课程信息显示
    public CourseInfo(String coursename, Double credit, String courseid, String tname,String exitselct,String stuid) {
        this.coursename = coursename;
        this.credit = credit;
        this.courseid=courseid;
        this.tname = tname;
        this.exitselect=exitselct;
        this.stuid=stuid;
    }

    public CourseInfo(String stuid,String courseid,String coursename, Double credit, String tname,String coursetype) {
        this.coursename = coursename;
        this.credit = credit;
        this.courseid=courseid;
        this.tname = tname;
        this.coursetype=coursetype;
        this.stuid=stuid;
    }
    //课程详细信息用表
    public CourseInfo(String coursename, String aname, String tname, Integer classhour, Double credit, String examine,String descourse) {
        this.coursename = coursename;
        this.credit = credit;
        this.classhour = classhour;
        this.examine = examine;
        this.aname = aname;
        this.tname = tname;
        this.descourse=descourse;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public Integer getLnum() {
        return lnum;
    }

    public void setLnum(Integer lnum) {
        this.lnum = lnum;
    }

    public Integer getCnum() {
        return cnum;
    }

    public void setCnum(Integer cnum) {
        this.cnum = cnum;
    }
    //教师用表
    public CourseInfo(String coursename, Double credit, int lnum, int cnum,int chour,String room,String descourse){
            this.coursename=coursename;
            this.credit=credit;
            this.lnum=lnum;
            this.cnum=cnum;
            this.classhour=chour;
            this.rid=room;
            this.descourse=descourse;
    }
    //学生用
    public CourseInfo(String courseid,String coursename, Double credit,  String tname,String exitselct,String stuid,String ctype) {
        this.coursename = coursename;
        this.credit = credit;
        this.courseid=courseid;
        this.tname = tname;
        this.exitselect=exitselct;
        this.stuid=stuid;
        this.coursetype=ctype;
    }

    public CourseInfo(String courseid,String coursename,String tname,String ctype,int lnum,int cnum){
        this.coursename = coursename;
        this.courseid=courseid;
        this.tname = tname;
        this.lnum=lnum;
        this.cnum=cnum;
        this.coursetype=ctype;
    }
}
